package com.shenghua.dao.mapperX;

import com.shenghua.dao.model.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface NoticeMapperX {
    List<Notice> selectNoticeListByMap(Map<String, Object> map);
    int countNoticeByMap(Map<String, Object> map);
    Notice selectByNoticeNo(@Param("noticeNo") String noticeNo);
    List<Notice> loadNoticeList();// 加载需要显示的公告

}